<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="UserTable">
    <div class="layui-card-body padding-left-40">




            <div class="layui-row layui-col-space15">
                <div class="layui-form-item">
                    <div class="help-label"><b>选择套餐</b></div>
                    <div class="layui-textarea help-checks">
                        {foreach $plans as $plan}
                        <label class="think-checkbox">
                            <input type="radio" name="plan" value="{$plan.id}" lay-ignore>
                            基础数量：{$plan.base_beans}加赠数量：{$plan.bonus_beans}({$plan.duration}天)
                        </label>
                        {/foreach}
                    </div>
                </div>

            </div>



    </div>

    <div class="hr-line-dashed"></div>
    <input type='hidden' value='{$user_id}' name='user_id'>

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>
</form>
